package model;

import view.ConfigFrame;
import view.LanguageSelector;
import view.PairFrame;
import control.Storage;
import control.Util;

public class PairGame{

	/**
	 * @param args
	 */
	public static void main(String[] args) {

		new LanguageSelector();
		new ConfigFrame();
		if (Storage.getInstance().isConfigured()) {
			while (Storage.getInstance().isNewGame()) {
				Util.resetStats();
				new PairFrame();
			}
		}

	}
}
